from django.shortcuts import render
from django.http import HttpResponse
import json
from asset.models import *


def asset_name_all(request):
    i = list(Asset.objects.all().values())
    print(i)

    return HttpResponse(json.dumps(i))
